package com.hjx.movie.core.system.service.admin;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hjx.movie.persistence.system.model.IvyCinemaHallSeat;

import java.util.List;

/**
 * <p>Title:</p>
 * <p>Description:</p>
 *
 * @author hjx
 * @date 2021/2/9 - 19:31
 */
public interface ICinemaHallSeatService extends IService<IvyCinemaHallSeat> {
    List<IvyCinemaHallSeat> findByCinemaId(Long cinemaHallId);
    boolean updateSeat(IvyCinemaHallSeat seat);
    boolean generatorSeats(Long cinemaHallId,Integer maxX,Integer maxY);
    boolean realDeleteSeatByCinemaHallId(Long cinemaHallId);
    boolean logicDeleteSeatByCinemaHallId(Long cinemaHallId);
}
